IMAPIStatus : IMAPIProp

MAPI implements the IMAPIStatus interface to provide status information about the MAPI subsystem, the integrated address book and the MAPI spooler. A service provider implements IMAPIStatus to supply information about its own status.

Quick Info

 

Header file:

MAPIDEFS.H

Exposed by:

Status objects

Implemented by:

Service providers and MAPI

Called by:

Client applications

Corresponding pointer type:

LPMAPISTATUS

Transaction model:

Non-transacted

 

Vtable Order

 

ValidateState1FMRVVS

Confirms the external status information available for the MAPI resource or the service provider. This method is supported in all status objects.

SettingsDialogS9IE0Y

Displays a property sheet enabling the user to change a service provider s configuration. This method is not supported in status objects implemented by MAPI.

ChangePassword1ZDFTN

Modifies a service provider s password without displaying a user interface. This method is optionally supported in status objects implemented by service providers.

FlushQueues9QD4LT

Forces all messages waiting to be sent or received to be immediately uploaded or downloaded. This method is supported by the MAPI spooler status object and status objects implemented by transport providers.

 

 

Required properties

Access

PR_DISPLAY_NAME1KS30YA

Read/write

PR_PROVIDER_DISPLAY2K871GB

Read/write

PR_PROVIDER_DLL_NAME1UD0_SZ

Read-only

PR_RESOURCE_FLAGS.XDJQY

Read-only

PR_RESOURCE_METHODS1BJ9KZ4

Read-only

PR_RESOURCE_TYPEPWK7CS

Read-only

PR_STATUS_CODE7DOHP8

Read-only

 

Remarks

The status objects implemented by MAPI support the following methods:

Status object

Supported methods

MAPI subsystem

ValidateState only

MAPI address book

ValidateState only

MAPI spooler

ValidateState and FlushQueues

 

The status objects implemented by MAPI are required to have a read-only version of the methods of the IMAPIPropHP08HX interface and support the IMAPIStatus::ValidateState1FMRVVS method. Transport providers are strongly recommended to also support FlushQueues9QD4LT. All providers are encouraged to support SettingsDialogS9IE0Y and support for ChangePassword1ZDFTN is optional.

Clients use status objects to perform configuration and to learn about the state of the session. They access a status object by calling the OpenStatusEntry method of a service provider logon object or IMAPISession::GetStatusTable11Y45OK to retrieve the status object.